public class MyClass {
    public async Task<string> GetDocumentContent()
    {
        return await File.ReadAllTextAsync("Document.txt");
    }
}